//
//  BGHttpTool.h
//  bigMall
//
//  Created by LTOVE on 16/7/13.
//  Copyright © 2016年 thinklev. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BGHttpTool : NSObject

+ (void)GET:(NSString *)URLstring paramenters:(id)paramenters progress:(void(^)(NSProgress *progress))downProgress success:(void(^)(id responseObject))success failure:(void(^)(NSError *error))failure;

+ (void)POST:(NSString *)URLstring paramenters:(id)paramenters progress:(void(^)(NSProgress *progress))downProgress success:(void(^)(id responseObject))success failure:(void(^)(NSError *error))failure;

+ (void)POSTImage:(NSString *)URLstring paramenters:(id)paramenters progress:(void(^)(NSProgress *progress))downProgress success:(void(^)(id responseObject))success failure:(void(^)(NSError *error))failure;

@end
